package com.cn.kabalifeuser.ui.integral.bean;

/**
 * Created by 晓林 on 2020/9/21.
 * function: 下单 提交订单
 */
public class OrderPlaceBean {


    /**
     * code : 200
     * result : {"total_amount":"10+1积分","good_num":"1","amount":10,"activity_id":0,"activity_title":"","integral":1,"postage":"0.00","coupon_id":0,"original_price":10}
     * msg : ok
     */

    private int code;
    private ResultBean result;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * total_amount : 10+1积分
         * good_num : 1
         * amount : 10
         * activity_id : 0
         * activity_title :
         * integral : 1
         * postage : 0.00
         * coupon_id : 0
         * original_price : 10
         */

        private String total_amount;
        private String good_num;
        private double amount;
        private int activity_id;
        private String activity_title;
        private int integral;
        private String postage;
        private int coupon_id;
        private double original_price;

        public String getTotal_amount() {
            return total_amount;
        }

        public void setTotal_amount(String total_amount) {
            this.total_amount = total_amount;
        }

        public String getGood_num() {
            return good_num;
        }

        public void setGood_num(String good_num) {
            this.good_num = good_num;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public int getActivity_id() {
            return activity_id;
        }

        public void setActivity_id(int activity_id) {
            this.activity_id = activity_id;
        }

        public String getActivity_title() {
            return activity_title;
        }

        public void setActivity_title(String activity_title) {
            this.activity_title = activity_title;
        }

        public int getIntegral() {
            return integral;
        }

        public void setIntegral(int integral) {
            this.integral = integral;
        }

        public String getPostage() {
            return postage;
        }

        public void setPostage(String postage) {
            this.postage = postage;
        }

        public int getCoupon_id() {
            return coupon_id;
        }

        public void setCoupon_id(int coupon_id) {
            this.coupon_id = coupon_id;
        }

        public double getOriginal_price() {
            return original_price;
        }

        public void setOriginal_price(double original_price) {
            this.original_price = original_price;
        }
    }
}
